<?php
/**
 * HomeController.php
 * 首页
 * 
 * @author: Cyw
 * @email: chenyunwen01@bianfeng.com
 * @created: 2014-1-19 下午4:47:40
 * @logs: 
 *       
 */
class HomeController extends BaseController {

    protected $layout = 'frontend._layout.dashboard';
    
    public function showWelcome()
    {
        $this->layout->content = View::make('frontend/dashboard/welcome', array(
                'title' => '欢迎光临模板商店'
        ));
    }

    public function showIndex(){
        
        //print_r(get_defined_vars());
        
        //echo __FUNCTION__;
        
        $this->layout->content = View::make('frontend/dashboard/index', array(
                'title' => '模板商店首页'
        ));
    }
}